package ch.dreamweb.readpractice.client.lesetraining.train.view;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.resources.client.CssResource;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

public interface UnitView {
	public interface Presenter {
		void onOkButtonClicked();

		void onStartButtonClicked();

		void onMenuButtonClicked();

		EventBus getEventBus();
	}

	public interface CssUnitStyle extends CssResource {
		String correct();

		String incorrect();

		String stroke();

	}

	public abstract void setPresenter(Presenter presenter);

	public abstract Widget asWidget();

	public abstract void setInfoLevel(String text);

	public abstract void showFootprints(int recordLevel, int actualLevel);

	public abstract void setMenuVisible(boolean visible);

	public abstract void setFocusMenu();

	public abstract void init();

	public abstract void setOkEnabled(boolean enabled);

	public abstract void setInfo(String text, String color);

	public abstract void setInfo(String text);

	public abstract void showElephant(int type);

	public abstract Label getLabelInfo();

	public abstract CssUnitStyle getStyle();

	public abstract Button getButtonStart();

	// public abstract Button getButtonOk();

}